package com.example.leetdemo.process;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;

public class Solution1775 {

    public int minOperations(int[] nums1, int[] nums2) {
        int max1 = nums1.length * 6, max2 = nums2.length * 6;
        int sum1 = Arrays.stream(nums1).sum(), sum2 = Arrays.stream(nums2).sum();
        if(sum1 > max2 || sum2 > max1) {
            return -1;
        }
        int def = sum2 - sum1;

        return 1;
    }

    public static void main(String[] args) {

    }
}

